package com.brillilab.service.core.experiments;


import com.brillilab.domain.po.experiments.PlateGridGroup;
import com.brillilab.domain.vo.experiments.PlateGridGroupVo;

import java.util.List;

/**
 * <p>
 * 多空板分组 服务类
 * </p>
 *
 * @author WuMenghao
 * @since 2019-09-05
 */
public interface IPlateGridGroupService{

    boolean insertBatch(List<PlateGridGroup> entity);

    List<PlateGridGroup> selectList(List<Long> gridIds);

    List<Long> selectPlateGridIdList(Long plateId);

    boolean deleteBatchById(List<Long> plateGridGroupId);

    boolean deleteBatchByExperimentGroupId(List<Long> experimentGroupId);

    int selectCountOnePlate(Long plateId);

    boolean deleteByPlateId(Long plateId);

    List<PlateGridGroupVo> selectVoList(List<Long> gridIds);

    boolean deleteByGridIds(List<Long> gridIdList);

    List<PlateGridGroup> selectListByIds(List<Long> plateGridGroupId);
}
